{extend name='base'}
{block name='nav2'}
    <a><cite>关于我们</cite></a>
{/block}
{block name='nav3'}
    <a><cite>社会责任</cite></a>
{/block}
{block name='nav4'}
    <a><cite>添加</cite></a>
{/block}
{block name='kdscript'}
    <script>
            var editor;
            KindEditor.ready(function(K) {
                editor = K.create('textarea[name="text4"]', {
                    allowFileManager : true
                });
            });
    </script>
    <script>
            var editor;
            KindEditor.ready(function(K) {
                editor = K.create('textarea[name="details4"]', {
                    allowFileManager : true
                });
            });
    </script>
{/block}
{block name='con1'}
    <div class="x-body">
        <form class="layui-form" action="{:url('socialresponsibility_insert')}" method='post' enctype='multipart/form-data'>
            <div class="layui-form-item">
                <label class="layui-form-label">
                    栏目
                </label>
                <div class="layui-input-block">
                    <input type="text" name='title4' class='layui-input'>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">
                    介绍
                </label>
                <div class="layui-input-block">
                    <textarea name="text4" style="width:100%;height:200px;visibility:hidden;"></textarea>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">
                    配图
                </label>
                <div class="layui-input-block">
                    <input type="file" name="img4" class='layui-input'>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">
                    详情
                </label>
                <div class="layui-input-block">
                    <textarea name="details4" style="width:100%;height:200px;visibility:hidden;"></textarea>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">
                </label>
                <div class="layui-input-block">
                    <button class="layui-btn" type='submit'>
                        增加
                    </button>
                </div>
            </div>
        </form>
    </div>
{/block}